package com.px;

import org.junit.Test;

public class mp {

	@Test
	public void test(){
		for(int i=0;i<10;i++){
			System.out.println("---------------------"+i);
		}
	}
	
	@Test
	public void mps(){
		int arry[] ={8,554,454,4,100};
		for(int i=0;i<arry.length-1;i++){
			for(int j=0;j<arry.length-i-1;j++){
				if(arry[j]<arry[j+1]){
				    int num=arry[j];
				    arry[j]=arry[j+1];
				    arry[j+1]=num;
				}
			}
		}
		for(int a:arry){
		    System.out.print(a+",");
		}
	}
}
